﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

using SchoolSystem.DAL;

namespace SchoolSystem.UI.WindowsForms
{
    public partial class Form2 : Form
    {
        public Form2()
        {
            InitializeComponent();
        }

        private void Form2_Load(object sender, EventArgs e)
        {
            using (var ctx = new SchoolSystemDbEntities())
            {
                //dataGridView1.DataSource = ctx.BasePersons.Local.To();

                
                //ctx.Kolons.Load();
                //dataGridView1.DataSource = ctx.Kolons.Local.ToBindingList();

            }
        }
    }
}
